ExamPlay Light Logo
Conectare

Computer Science for IGCSE & O level - Programming (Section 16 - No. 17)

What happens if the 'age' is 17 in the given code? ``` IF age >= 17 THEN Print "You are an adult" ELSE Print "You are a child" ENDIF ```
You are a child
You are an adult
No output is produced
An error is produced.

Explicaţie

Since age (17) is greater than or equal to 17, 'You are an adult' will be printed.

Comentarii (0)

Autentifică-te pentru a comenta
Publicitate
BrainBehindX Inc Logo
©2026; Cu sprijinul BrainBehindX Inc